<?php

declare(strict_types=1);

namespace App\Robot\Dto;

use App\Common\Dto\DataObject;

/**
 * 文件消息
 */
class VoiceMessageDTO extends DataObject
{
    private string $fileAesKey;
    private string $fileId;
    private int $fileSize;

    private int $voiceTime;

    private string $toId;

    public function getToId(): string
    {
        return $this->toId;
    }

    public function setToId(string $toId): VoiceMessageDTO
    {
        $this->toId = $toId;
        return $this;
    }

    public function getVoiceTime(): int
    {
        return $this->voiceTime;
    }

    public function setVoiceTime(int $voiceTime): VoiceMessageDTO
    {
        $this->voiceTime = $voiceTime;
        return $this;
    }

    public function getFileSize(): int
    {
        return $this->fileSize;
    }

    public function setFileSize(int $fileSize): VoiceMessageDTO
    {
        $this->fileSize = $fileSize;
        return $this;
    }

    public function getFileId(): string
    {
        return $this->fileId;
    }

    public function setFileId(string $fileId): VoiceMessageDTO
    {
        $this->fileId = $fileId;
        return $this;
    }

    public function getFileAesKey(): string
    {
        return $this->fileAesKey;
    }

    public function setFileAesKey(string $fileAesKey): VoiceMessageDTO
    {
        $this->fileAesKey = $fileAesKey;
        return $this;
    }
}